package com.wxp.demo06.application;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.widget.TextView;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;

import com.wxp.demo06.R;
import com.wxp.demo06.util.LogUtils;

/**
 * 4.1 Application的生命周期
 */
public class MyApplicationActivity extends AppCompatActivity {

    private TextView tv_text;

    @SuppressLint("SetTextI18n")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_my_application);

        LogUtils.debug(MyApplicationActivity.class.getSimpleName(), " onCreate");

        this.setTitle("4.1 Application的生命周期");

        tv_text = this.findViewById(R.id.tv_text);
        tv_text.setText("Application的生命周期");


    }
}